namespace KYO.DAL {
    using System;
    using System.Text;
    using System.Collections;
    using System.Collections.Generic;
    
    public partial class StaticHitCount : ObjectPersistence.ORNetBaseType {
        public StaticHitCount() {
        }
        public StaticHitCount(int ContentId, int Month, byte Type, int Year, int HitCount) {
            this.ContentId = ContentId;
            this.Month = Month;
            this.Type = Type;
            this.Year = Year;
            this.HitCount = HitCount;
        }

        public int ContentId {
            get {
                return _ContentId;
            }
            set {
                this._ContentId = value;
                this.ChangesMade = true;
            }
        }
        public int Month {
            get {
                return _Month;
            }
            set {
                this._Month = value;
                this.ChangesMade = true;
            }
        }
        public byte Type {
            get {
                return _Type;
            }
            set {
                this._Type = value;
                this.ChangesMade = true;
            }
        }
        public int Year {
            get {
                return _Year;
            }
            set {
                this._Year = value;
                this.ChangesMade = true;
            }
        }
        public int HitCount {
            get {
                return _HitCount;
            }
            set {
                this._HitCount = value;
                this.ChangesMade = true;
            }
        }




        private int _ContentId;
        private int _Month;
        private byte _Type;
        private int _Year;
        private int _HitCount;


        public string ROKeyString {
            get {
                return (((("KYO.DAL.StaticHitCount" + ContentId.ToString()) 
                            + Year.ToString()) 
                            + Month.ToString()) 
                            + Type.ToString());
            }
        }

    }
}
